import request from '@/util/request'

// 获取店铺信息
export function getShopDetail(propType) {
  return request({
    url: `aqs/store/sellerInfo/${propType}.json`,
    method: 'GET',
    baseURL: process.env.VUE_APP_AJS_INDEX
  })
}

// 加载品牌列表
export function getBrandList(propType) {
  return request({
    url: `aqs/store/brand/${propType}.json`,
    method: 'GET',
    baseURL: process.env.VUE_APP_AJS_INDEX
  })
}

// 分页搜索获取列表
export function getBrandProduct(size, index, data) {
  return request({
    url: `aqs/store/spuList/${size}/${index}`,
    method: 'POST',
    data,
    baseURL: process.env.VUE_APP_AJS_INDEX
  })
}
